package com.yrcm.eduapp.ui;

import android.app.Dialog;
import android.content.Context;
import android.os.Bundle;
import android.widget.Button;
import android.widget.EditText;
import android.widget.ImageView;

import com.yrcm.eduapp.R;

public class MyDialog extends Dialog {

	public EditText nameTxt;
	public EditText pwdTxt;
	public Button loginBtn;
	public Button regBtn;
	public ImageView close;

	public MyDialog(Context context) {
		super(context);
		// TODO Auto-generated constructor stub
	}

	protected void onCreate(Bundle savedInstanceState) {
		// TODO Auto-generated method stub
		super.onCreate(savedInstanceState);
		setContentView(R.layout.login);

		loginBtn = (Button) findViewById(R.id.login_btn);
		regBtn = (Button) findViewById(R.id.btn_reg);
		close = (ImageView) findViewById(R.id.colse_btn);
		nameTxt = (EditText) findViewById(R.id.name);
		pwdTxt = (EditText) findViewById(R.id.password);
	}

	@Override
	public void show() {
		super.show();
	}
}
